<?php
if (!init()) {
  redirect('?action=login');
}

spamImageComment($_GET['cid']);

$initiatorAction = \controller\ControllerUtil::getEncodedActionFromUrlWithParameters($_SERVER['HTTP_REFERER']);

redirect("?action=msg&header=header.spam.success&body=body.spam.success&view=" . $initiatorAction);

